home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Object = "{CD8DBB13-94EE-11D1-921D-006097A8F11E}#14.0#0"; "mcBar.ocx"
- Begin VB.Form frmPuzzle
- Caption = "Puzzle"
- ClientHeight = 4980
- ClientLeft = 60
- ClientTop = 345
- ClientWidth = 7920
- ScaleHeight = 4980
- ScaleWidth = 7920
- StartUpPosition = 2 'CenterScreen
- Begin mcBar_by_The_MCR_Company.mcBar mcBar1
- Height = 4260
- Left = 90
- TabIndex = 1
- Top = 360
- Width = 7740
- _ExtentX = 13653
- _ExtentY = 7514
- Blocks = 26
- Block.BorderStyle(1)= 2
- Block.HPercentage(1)= "100"
- Block.VPercentage(1)= "100"
- Block.Color(1) = 12632256
- BeginProperty Block.TextFont(1) {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- BeginProperty Block.TextFont(2) {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- BeginProperty Block.TextFont(3) {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- BeginProperty Block.TextFont(4) {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- BeginProperty Block.TextFont(5) {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- BeginProperty Block.TextFont(6) {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- BeginProperty Block.TextFont(7) {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- BeginProperty Block.TextFont(8) {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- BeginProperty Block.TextFont(9) {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- BeginProperty Block.TextFont(10) {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- BeginProperty Block.TextFont(11) {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- BeginProperty Block.TextFont(12) {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- BeginProperty Block.TextFont(13) {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- BeginProperty Block.TextFont(14) {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- BeginProperty Block.TextFont(15) {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- BeginProperty Block.TextFont(16) {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- BeginProperty Block.TextFont(17) {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- BeginProperty Block.TextFont(18) {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- BeginProperty Block.TextFont(19) {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- BeginProperty Block.TextFont(20) {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- BeginProperty Block.TextFont(21) {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- BeginProperty Block.TextFont(22) {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- BeginProperty Block.TextFont(23) {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- BeginProperty Block.TextFont(24) {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- BeginProperty Block.TextFont(25) {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Block.BarLeft(26)= 0
- Block.BarRight(26)= 100
- Block.HPercentage(26)= "100"
- Block.VPercentage(26)= "100"
- Block.Color(26) = 12632256
- BeginProperty Block.TextFont(26) {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Object.Height = 4260
- Object.Width = 7740
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Picture = "Puzzle.frx":0000
- End
- Begin mcBar_by_The_MCR_Company.mcBar mcStatusBar
- Align = 2 'Align Bottom
- Height = 285
- Left = 0
- TabIndex = 0
- Top = 4695
- Width = 7920
- _ExtentX = 13970
- _ExtentY = 503
- Blocks = 2
- Block.BarLeft(1)= 0
- Block.BarRight(1)= 90
- Block.BorderStyle(1)= 2
- Block.HPercentage(1)= "90"
- Block.VPercentage(1)= "100"
- Block.Color(1) = 12632256
- Block.GradientStyle(1)= 6
- Block.GradientColor(1)= 16777215
- Block.Text(1) = "mcBar ActiveX control by The MCR Company"
- BeginProperty Block.TextFont(1) {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Block.TextFont3D(1)= 4
- Block.BarLeft(2)= 90
- Block.BarRight(2)= 100
- Block.BorderStyle(2)= 2
- Block.HPercentage(2)= "10"
- Block.VPercentage(2)= "100"
- Block.Color(2) = 12632256
- Block.Text(2) = "!long time!"
- BeginProperty Block.TextFont(2) {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "Arial"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Block.TextFont3D(2)= 4
- Object.Height = 285
- Object.Width = 7920
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- End
- Begin VB.Label Label1
- AutoSize = -1 'True
- Caption = "Click on each block to see a part of the hidden picture"
- Height = 195
- Left = 90
- TabIndex = 2
- Top = 90
- Width = 3840
- End
- Attribute VB_Name = "frmPuzzle"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Option Explicit
- Private Sub Form_Load()
- Dim i As Integer
- Dim j As Integer
- Dim n As Integer
- mcBar1.Blocks = 26
- mcBar1.Redraw = False
- mcBar1.BlockVisible(26) = False
- For i = 1 To 5
- For j = 1 To 5
- n = ((i - 1) * 5) + j
- mcBar1.IndexBlock = n
- mcBar1.BlockBarLeft = (j - 1) * 20
- mcBar1.BlockBarRight = (j * 20)
- mcBar1.BlockBarBottom = (i - 1) * 20
- mcBar1.BlockBarTop = (i * 20)
- mcBar1.BlockTextFont.Bold = True
- mcBar1.BlockText = mcBar1.IndexBlock
- Next j
- Next i
- mcBar1.SetBlockColor &HC0C0C0
- mcBar1.SetBlockBorderStyle mcRaised
- mcBar1.SetBlockRivetsStyle mcRaisedRivets
- mcBar1.SetBlockGradientStyle mcOuterRectangleGradient
- mcBar1.SetBlockGradientGranularity mcLow
- mcBar1.SetBlockGradientColor &H808080
- mcBar1.SetBlockGradientColorEnd &HE0E0E0
- mcBar1.SetBlockTextColor vbWhite
- mcBar1.Redraw = True
- mcStatusBar.TimerTimeEnabled = True
- End Sub
- Private Sub mcBar1_BlockClicked(iBlock As Integer)
- If (iBlock <> -1) Then mcBar1.BlockVisible(iBlock) = False
- End Sub
-